﻿using System;
using System.Collections.Generic;
using System.Text;
using Manso.cBot.Common;

namespace Manso.cBot.DefaultModules.Kos
{
    public class KosModule : IModule
    {
        private readonly string _name;
        private readonly string _version;
        private readonly string _author;
        private readonly string _description;
        private readonly List<ICommand> _commands;


        public KosModule()
        {
            _name = "KOS";
            _version = "1.0";
            _author = "Broker (brok3r@gmail.com)";
            _description = "Manage a kos list";
            _commands = new List<ICommand>();
            _commands.Add(new KosAddCommand());
            _commands.Add(new KosGetCommand());
            _commands.Add(new KosGetAllCommand());
        }

        public string Name
        {
            get { return _name; }
        }

        public string Version
        {
            get { return _version; }
        }

        public string Author
        {
            get { return _author; }
        }

        public string Description
        {
            get { return _description; }
        }

        public IEnumerable<ICommand> Commands
        {
            get { return _commands; }
        }

        public bool Load()
        {
            return true;
        }

        public void Unload()
        {
            
        }
    }
}
